package com.mmall.service;

import com.mmall.common.ServerResponse;
import com.mmall.pojo.Cart;

import java.util.List;

public interface IOrderService {
    ServerResponse createOrder(Integer userId, Integer shippingId);

    ServerResponse orderCartProduct(Integer userId);

    ServerResponse getOrderList(Integer userId, Integer pageNum, Integer pageSize);

    ServerResponse getOrderDetail(Integer userId, Long orderNo);

    ServerResponse cancelOrder(Integer userId, Long orderNo);

    ServerResponse manageSearch(Long orderNo, Integer pageNum, Integer pageSize);

    ServerResponse sendGoods(Long orderNo);

}
